package com.lgc.demo.test.genericTest;

/**
 * 泛型类
 * @param <T>
 */
public class Generic<T> {
    private T key;

    public Generic(T key){
        this.key = key;
    }

    public T getKey(){
        return key;
    }
}
